pip install Polygon3报错 · Issue #9668 · PaddlePaddle/PaddleOCR · GitHub

您所在的位置:网站首页 pip install github报错 pip install Polygon3报错 · Issue #9668 · PaddlePaddle/PaddleOCR · GitHub

pip install Polygon3报错 · Issue #9668 · PaddlePaddle/PaddleOCR · GitHub

2023-04-11 11:07| 来源: 网络整理| 查看: 265

完整报错/Complete Error Message:Collecting Polygon3 Using cached Polygon3-3.0.9.1.tar.gz (39 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: Polygon3 Building wheel for Polygon3 (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [14 lines of output] Using NumPy extension! running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\Polygon copying Polygon\IO.py -> build\lib.win-amd64-cpython-310\Polygon copying Polygon\Shapes.py -> build\lib.win-amd64-cpython-310\Polygon copying Polygon\Utils.py -> build\lib.win-amd64-cpython-310\Polygon copying Polygon_init_.py -> build\lib.win-amd64-cpython-310\Polygon running build_ext building 'Polygon.cPolygon' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for Polygon3 Running setup.py clean for Polygon3 Failed to build Polygon3 Installing collected packages: Polygon3 Running setup.py install for Polygon3 ... error error: subprocess-exited-with-error

× Running setup.py install for Polygon3 did not run successfully. │ exit code: 1 ╰─> [16 lines of output] Using NumPy extension! running install C:\Users\17555\anaconda3\envs\paddle\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\Polygon copying Polygon\IO.py -> build\lib.win-amd64-cpython-310\Polygon copying Polygon\Shapes.py -> build\lib.win-amd64-cpython-310\Polygon copying Polygon\Utils.py -> build\lib.win-amd64-cpython-310\Polygon copying Polygon_init_.py -> build\lib.win-amd64-cpython-310\Polygon running build_ext building 'Polygon.cPolygon' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3